﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace DotNetStar.TheKing.Infrastructure
{
    /// <summary>
    /// 内容状态。
    /// </summary>
    public enum ContentStatus
    {
        /// <summary>
        /// 屏蔽，全站不可访问，包括自己
        /// </summary>
        [Description("屏蔽")]
        Forbidden = 0,
        /// <summary>
        /// 公开，可全站访问
        /// </summary>
        [Description("公开")]
        Normal = 1,
        /// <summary>
        /// 草稿，仅自己
        /// </summary>
        [Description("草稿")]
        Draft = 2,
        /// <summary>
        /// 待审，仅管理员和自己
        /// </summary>
        [Description("待审")]
        Auditing = 3,
        /// <summary>
        /// 私密，仅自己
        /// </summary>
        [Description("私密")]
        Private = 4,
    }

    /// <summary>
    /// 频道
    /// </summary>
    public enum Channels
    {
        /// <summary>
        /// 错误
        /// </summary>
        None = 0,
        /// <summary>
        /// 帖子
        /// </summary>
        [Description("帖子")]
        Content = 1,
        /// <summary>
        /// 提问
        /// </summary>
        [Description("提问")]
        Ask = 2,
        /// <summary>
        /// 代码
        /// </summary>
        [Description("代码")]
        Code = 3,
        /// <summary>
        /// 视频
        /// </summary>
        [Description("视频")]
        Video = 4,
        /// <summary>
        /// 教学
        /// </summary>
        [Description("教学")]
        Education= 5,
        /// <summary>
        /// 反馈
        /// </summary>
        [Description("反馈")]
        Feedback = 10,
    }
}
